...
1Feature: Access control
2 In order to control we gets access to what and where,
3 as a customer, I want to assign users roles and give
4 them access to specific sites
5
6 Scenario: Got some roles
7 Given the associate has some roles assigned to them
8 When they sign in
9 Then the roles should be on the access token
10
11 Scenario: No access to site
12 Given the associate does not have access to the site
13 When they try to sign in
14 Then they are informed that the can't sign in
15 # todo: figure out if the service tells us that
16 And the reason why
17
18 Scenario: Forbidden for any reason
19 Given the associate does not have access for some reason
20 When they try to sign in
21 Then they are informed that the can't sign in
View as plain text